package cn.sinonet.mb.message;

import java.util.Map;

import org.limp.basework.AbstractSimpleBean;


/**
 * 报文请求模板项接口定义
 * @author mido
 *
 */
public class MessageRequestItem extends AbstractSimpleBean {
    private String id;
    private String name;
    private String label;
    private String desc;
    private String defaultValue;
    private String type;
    private int size;
    private String componentType;
    private String param;
    private boolean checkType;
    private boolean checkNull;
    private boolean checkRange;

    /**
     * 主键值
     * @return String
     */
    public String getId() {
        return this.id;
    }

    /**
     * 字段名称
     * @return String
     */
    public String getName() {
        return this.name;
    }

    /**
     * 字段中文标签
     * @return String
     */
    public String getLabel() {
        return this.label;
    }

    /**
     * 字段中文描述
     * @return String
     */
    public String getDesc() {
        return this.desc;
    }

    /**
     * 字段默认值
     * @return String
     */
    public String getDefaultValue() {
        return this.defaultValue;
    }

    /**
     * 字段类型
     * @return String
     */
    public String getType() {
        return this.type;
    }

    /**
     * 字段大小
     * @return int
     */
    public int size() {
        return this.size;
    }

    /**
     * UI组件类型
     * @return String
     */
    public String getComponentType() {
        return this.componentType;
    }

    /**
     * 自定义参数
     * @return String
     */
    public String getParam() {
        return this.param;
    }

    /**
     * 是否进行类型校验
     * @return boolean
     */
    public boolean checkType() {
        return this.checkType;
    }

    /**
     * 是否进行非空校验
     * @return boolean
     */
    public boolean checkNull() {
        return this.checkNull;
    }

    /**
     * 是否进行范围校验
     * @return boolean
     */
    public boolean checkRange() {
        return this.checkRange;
    }
    
    public void reload(Map info){
    	
    }
}
